package testes_simples;

import model.vos.login.Usuario;

import org.hibernate.cfg.AnnotationConfiguration;
import org.hibernate.tool.hbm2ddl.SchemaExport;

public class GeraTabelas {
	public static void main(String[] args){
        AnnotationConfiguration cfg = new AnnotationConfiguration().
        		configure("hibernate.cfg.xml");            
        cfg.addAnnotatedClass(Usuario.class);      
        SchemaExport se = new SchemaExport(cfg);
        se.create(true,true);

    }
}
